package com.ktwlsoft.archivemanage.payload.businessInspect;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

/**
 * 业务检查题目选项修改
 *
 * @author zhuhe on 2019/11/7 9:07
 * @version 1.0
 */
@ApiModel("业务检查题目选项修改")
@Getter
@Setter
public class InspectSubjectItemUpdateRequest {

    /**主键*/
    @ApiModelProperty("主键")
    @NotNull(message = "主键id不能为空")
    private Long id;

    /**选项**/
    @ApiModelProperty("选项")
    @NotNull(message = "选项不能为空")
    private String option;

    /**分值**/
    @ApiModelProperty("分值")
    private BigDecimal optionMark;

    /**排序**/
    @ApiModelProperty("排序")
    @NotNull(message = "排序不能为空")
    private Integer sort;

    /**被选:1.选中,2.未选中**/
    @ApiModelProperty("被选:1.选中,2.未选中")
    @NotNull(message = "被选不能为空")
    private Integer checked;

    /**检查拍照(1.开启,0关闭)**/
    @ApiModelProperty("检查拍照(1.开启,0关闭)")
    private Integer hasImgs;

    /**选项图片**/
    @ApiModelProperty("选项图片")
    private List<ImgsUpdate> imgsList;

    /**检查方式*/
    @ApiModelProperty("检查方式")
    private String inspectWay;

    /**检查要求*/
    @ApiModelProperty("检查要求")
    private String inspectAsk;

    /**是否满足:reach(满足),not_reach(不满足)*/
    @ApiModelProperty("是否满足:reach(满足),not_reach(不满足)")
    private String reach;

    /**印证材料档号*/
    @ApiModelProperty("印证材料档号")
    private String confirmMaterialReference;

    /**不满足说明*/
    @ApiModelProperty("不满足说明")
    private String failIllustrate;
}